// #ifndef VUE3
import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
// #endif

// main.js
import uviewPlus from '@/uni_modules/uview-plus'


// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
import {
	createPinia
} from 'pinia'
import '@/utils/request.js'
import piniaPersist from 'pinia-plugin-persistedstate'
export function createApp() {
	const app = createSSRApp(App)
	const pinia = createPinia()
	pinia.use(piniaPersist)
	app.use(pinia)
	app.use(uviewPlus)
	return {
		app
	}
}
// #endif